/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kleintjes.behavioral.chainofresponsibility;

import com.kleintjes.behavioral.chainofresponsibility.model.PlanetEnum;

/**
 *
 * @author Hughan.Kleintjes.hughanK@gmail.com
 */
public abstract class PlanetHandler {
    
    protected PlanetHandler successor;
    
    public void setSuccessor(PlanetHandler successor){
        this.successor = successor;
    }
    public abstract void handleRequest(PlanetEnum request);
    
}
